package org.edu.service.impl;

import java.util.List;

import org.edu.dao.SciencyDao;
import org.edu.model.Sciency;
import org.edu.service.SciencyServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("sciencyServices")
public class SciencyServicesImpl implements SciencyServices {

	@Autowired
	private SciencyDao sciencyDao;
	public SciencyServicesImpl() {
	}

	@Transactional
	public List<Sciency> sciencies() {
		return sciencyDao.sciencies();
	}

}
